WooCommerce\Square\Gateway\API\Requests\Orders S

Total Complexity 45
Dependencies 19
Dependents 1
Total lines 485
Lines of code 260
Logical lines of code 169
Comment lines 123
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
get_api_line_items()
B
36 17 77
apply_taxes()
S
56 6 17
set_order_data()
S
47 2 42
get_order_taxes()
S
58 3 14
get_product_line_items()
S
64 3 10
get_fee_line_items()
S
64 3 10
get_shipping_line_items()
S
64 3 10
add_discount_order_data()
S
54 1 21
add_line_item_order_data()
S
54 1 20
set_update_order_data()
S
57 1 17
set_create_order_data()
S
64 2 9
__construct()
S
80 1 3
set_retrieve_order_data()
S
76 1 4
set_pay_order_data()
S
69 1 6